Re: [NTG-context] Distance between two Columns

2019-02-28 Thread Wolfgang Schuster
? \setupcombination [location=top, distance=\spaceamount] \starttext \startcombination[2*1] {\framed[width=5cm,align=flushleft]{Small}}{} {\framed[width=5cm,align=flushleft]{A really really long line that is split at 5cm}}{} \stopcombination \blank \placesidebyside

Re: [NTG-context] source code and result side by side

2017-08-04 Thread Henning Hraban Ramm
width=0.5\textwidth, >>> align=normal, >>> ] >>> >>> \definebuffer >>> [CodeExample] >>> >>> \define\stopCodeExample >>> {\placesidebyside >>> {\CodeExampleFramed{\typeCodeExample}} >>> {\CodeExam

Re: [NTG-context] source code and result side by side

2017-08-03 Thread Henning Hraban Ramm
; > \defineframed > [CodeExampleFramed] > [ >frame=off, >width=0.5\textwidth, >align=normal, > ] > > \definebuffer >[CodeExample] > > \define\stopCodeExample >{\placesidebyside > {\CodeExampleFramed{\typeCodeExample}} > {\C

Re: [NTG-context] source code and result side by side

2017-07-30 Thread Aditya Mahajan
e wiki as ... i.e. sourcecode beside the result. Often the shown source is exactly what I want to show, in other cases I need some additional setup that I don’t want to show. Which approach would you suggest? Combinations? \startbuffer[example-1] \stopbuffer \placesidebyside {\type

Re: [NTG-context] source code and result side by side

2017-07-30 Thread Henning Hraban Ramm
iki as >> >> >> ... >> >> >> i.e. sourcecode beside the result. >> >> Often the shown source is exactly what I want to show, in other cases I need >> some additional setup that I don’t want to show. >> >> Which approach would

Re: [NTG-context] source code and result side by side

2017-07-29 Thread Pablo Rodriguez
On 07/29/2017 10:58 AM, Pablo Rodriguez wrote: > On 07/29/2017 12:57 AM, Aditya Mahajan wrote: >> [...] >> \placesidebyside >> {\typebuffer[example-1]} >> {\getbuffer[setups, example-1]} > [...] > Is there now hay to avoid the forced horizontal mode o

Re: [NTG-context] source code and result side by side

2017-07-29 Thread Pablo Rodriguez
On 07/29/2017 12:57 AM, Aditya Mahajan wrote: > [...] > \startbuffer[example-1] > > \stopbuffer > > > \placesidebyside > {\typebuffer[example-1]} > {\getbuffer[setups, example-1]} Many thanks for your suggestion, Aditya. I’m afraid everything is forc

Re: [NTG-context] source code and result side by side

2017-07-28 Thread Aditya Mahajan
some additional setup that I don’t want to show. Which approach would you suggest? Combinations? \startbuffer[example-1] \stopbuffer \placesidebyside {\typebuffer[example-1]} {\getbuffer[setups, example-1

Re: [NTG-context] Two figures are side by side

2014-04-17 Thread Alan BRASLAU
) \placesidebyside {table here} {figure here} Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg

Re: [NTG-context] Side-by-side framed text blocks

2013-06-06 Thread Marco Patzer
On 2013–06–06 honyk wrote: I'd like to type two blocks of text with different 'align' settings side by side. Here's one way to do it: \setupframed [offset=1ex, width=8cm, frame=off] \starttext \placesidebyside {\startframed[align={normal,left}] \input knuth\par\stopframed

Re: [NTG-context] Side-by-side framed text blocks

2013-06-06 Thread honyk
Dear Marco, I'd like to type two blocks of text with different 'align' settings side by side. Here's one way to do it: \setupframed [offset=1ex, width=8cm, frame=off] \starttext \placesidebyside {\startframed[align={normal,left}] \input knuth\par\stopframed

Re: [NTG-context] Side-by-side framed text blocks

2013-06-06 Thread Aditya Mahajan
On Fri, 7 Jun 2013, honyk wrote: Dear Marco, I'd like to type two blocks of text with different 'align' settings side by side. Here's one way to do it: \setupframed [offset=1ex, width=8cm, frame=off] \starttext \placesidebyside {\startframed[align={normal,left}] \input

Re: [NTG-context] Table

2013-05-03 Thread Wolfgang Schuster
are set one below the other, and not side by side (what I want). Why? Each entry in combination consists a the content and the caption but in your example the first frame is the content and the second the caption. When you want two things side by side you can use \placesidebyside

Re: [NTG-context] nomarking function in MKIV

2010-07-01 Thread Alan BRASLAU
, there are different mechanisms behind \startfiguretext and \placefigure: it is not a float but a box: \startfiguretext [left] {none} {\externalfigure [figure] [width=w]} text \stopfiguretext akin to \placesidebyside {\externalfigure [figure] [width=w]} {\framed [frame=no,width

[NTG-context] Multiple side-by-side tables

2010-04-05 Thread Troy Henderson
I would like to put several tables side-by-side one another. Nesting \placesidebyside commands seems a bit inconvenient. Suggestions on how to make \starttable ... \stoptable not create a newline (without the \placesidebyside command) would be greatly appreciated. -- Troy Henderson

Re: [NTG-context] Multiple side-by-side tables

2010-04-05 Thread Wolfgang Schuster
Am 05.04.10 15:48, schrieb Troy Henderson: I would like to put several tables side-by-side one another. Nesting \placesidebyside commands seems a bit inconvenient. Suggestions on how to make \starttable ... \stoptable not create a newline (without the \placesidebyside command) would be greatly

[NTG-context] placesidebyside inside combination

2009-12-03 Thread Alan BRASLAU
Hello, Nesting \placesidebyside inside \startcombination\stopcombination appears to throw-off the spacing. Alan %%% % Minimal example: % (left pair is misplaced) %%% \setupcombinations [distance=0cm] \starttext \framed [width=8cm

Re: [NTG-context] Combining figures.

2009-05-09 Thread Wolfgang Schuster
]} {\externalfigure[figure 2]}} \placefigure{some title} {\startcombination[2*1] {\framed[width=5cm]{}}{} {\framed[width=5cm]{}}{} \stopcombination} \placefigure{some title} {\hbox\placesidebyside {\externalfigure[figure 1]} {\externalfigure[figure 2]}} Wolfgang

Re: [NTG-context] Combining figures

2009-05-09 Thread Robert Blackstone
On Sat, May 9, 2009 at 12:00 PM, Wolfgang Schuster wrote: \placefigure{some title} {\placeontopofeachother {\externalfigure[figure 1]} {\externalfigure[figure 2]}} \placefigure{some title} {\hbox\placesidebyside {\externalfigure[figure 1]} {\externalfigure

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
\placelistofsynonyms \placelocalfootnotes[settings] \placelogos[names] \placeongrid[settings{text} \placeontopofeachother{text}{text} \placereferencelist[names] \placeregister[name][settings] \placeregister[settings] \placerule[name] \placesidebyside{text}{text} \placesubformula[references]{text

Re: [NTG-context] Treating underscore as a normal character

2007-02-06 Thread Berend de Boer
: - -- \def\MyHead#1#2% {\setupframed[frame=off] \framed[width=\hsize,offset=overlay] {\placesidebyside {\doifmodeelse{*sectionnumber}% {\framed[width=.6\hsize,offset=1em,strut=no,align=right,background=screen,backgroundscreen

Re: [NTG-context] Two figures side-by-side ?

2006-04-02 Thread olivier Turlier
On Sat, 01 Apr 2006 01:33:23 +0200, Renaud AUBIN wrote: Hi all, What's the best (i.e. the CLEANEST ?) solution to put two figures side-by-side ? (use of placefigure startcombination ?) Cheers, Renaud Does \placesidebyside{}{} command fit your needs ? Cheers -- olivier Turlier

Re: [NTG-context] placesidebyside with aligned formula

2006-03-02 Thread Hans Hagen
Aditya Mahajan wrote: How do I place some formula on to the right of some text. This does not work. \starttext \placesidebyside {\framed[width=8cm,align=leftflushed]{\input knuth \relax}} {% \startformula\startalign \NC a \NC= b \NR \NC c \NC= d \NR

Re: [NTG-context] framed texts

2006-01-07 Thread Hans Hagen
=...] para 2 \startitemize etc \stopframedtext I tried some things but the two frames will not come out on one line. How to do this? \placesidebyside (context manual p.228) should work. A \hbox is another option, but maybe too unhandy for this. Greetings, Peter No, that will not work

Re: [NTG-context] framed texts

2006-01-06 Thread Peter Rolf
some things but the two frames will not come out on one line. How to do this? \placesidebyside (context manual p.228) should work. A \hbox is another option, but maybe too unhandy for this. Greetings, Peter yours sincerely, dr. H. van der Meer

Re: [NTG-context] framed texts

2006-01-06 Thread Hans van der Meer
etc \stopframedtext I tried some things but the two frames will not come out on one line. How to do this? \placesidebyside (context manual p.228) should work. A \hbox is another option, but maybe too unhandy for this. Greetings, Peter No, that will not work. After much probing I found

[NTG-context] Two framed texts on the same line

2005-11-25 Thread Giuseppe Bilotta
][align=raggedright,width=fit,offset=0pt,frame=off,location=left] \defineframedtext[repi][align=raggedright,width=fit,offset=0pt,frame=off,location=right] Now, I want them to be at the same height. However, using things like placesidebyside or even just \startlepi ... \stoplepi \startrepi

Re: [NTG-context] Two framed texts on the same line

2005-11-25 Thread Hans Hagen
the following: \defineframedtext[lepi][align=raggedright,width=fit,offset=0pt,frame=off,location=left] \defineframedtext[repi][align=raggedright,width=fit,offset=0pt,frame=off,location=right] Now, I want them to be at the same height. However, using things like placesidebyside or even just \startlepi

Re[2]: [NTG-context] Complex layout question

2005-09-19 Thread Giuseppe Bilotta
went for the side-by-side option, using \start/stopcombinations because \placesidebyside put the figure and table too close together. -- Giuseppe Oblomov Bilotta ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg

[NTG-context] A side by side float that takes advantage of the margin

2005-09-16 Thread Giuseppe Bilotta
I have a situation when I have to put side by side two floats (a table and figure). My current code is \placetable[here][label]{caption}% {\\placesidebyside {table code}{figure code} } The problem is that sometimes the combined width of table and figure is bigger than the textwidth. I would like

Re: [NTG-context] A side by side float that takes advantage of the margin

2005-09-16 Thread Taco Hoekwater
Giuseppe Bilotta wrote: I have a situation when I have to put side by side two floats (a table and figure). My current code is \placetable[here][label]{caption}% {\\placesidebyside {table code}{figure code} } Have you tried \centerline (may not work)? \placetable[here][label]{caption

Re: [NTG-context] A side by side float that takes advantage of the margin

2005-09-16 Thread Hans Hagen
Taco Hoekwater wrote: Giuseppe Bilotta wrote: I have a situation when I have to put side by side two floats (a table and figure). My current code is \placetable[here][label]{caption}% {\\placesidebyside {table code}{figure code} } Have you tried \centerline (may not work

Re[2]: [NTG-context] A side by side float that takes advantage of the margin

2005-09-16 Thread Giuseppe Bilotta
Friday, September 16, 2005 Taco Hoekwater wrote: Giuseppe Bilotta wrote: I have a situation when I have to put side by side two floats (a table and figure). My current code is \placetable[here][label]{caption}% {\\placesidebyside {table code}{figure code} } Have you tried \centerline

Re: [NTG-context] A side by side float that takes advantage of the margin

2005-09-16 Thread Hans Hagen
Giuseppe Bilotta wrote: Friday, September 16, 2005 Taco Hoekwater wrote: Giuseppe Bilotta wrote: I have a situation when I have to put side by side two floats (a table and figure). My current code is \placetable[here][label]{caption}% {\\placesidebyside {table code}{figure code

Re: [NTG-context] Re: side-by-side

2004-10-31 Thread David Arnold
Patrick et al, I got around my last problem by defining a new typing environment, so the idea below is almost working the way I want. I have: \startbuffer x=linspace(-2,4); y=x.^2-2*x-3; plot(x,y) xlabel('x') ylabel('y') title('y = x^2 -2x -3') grid on \stopbuffer \placesidebyside

[NTG-context] Re: side-by-side

2004-10-31 Thread Patrick Gundlach
] \starttext \startbuffer x=linspace(-2,4); y=x.^2-2*x-3; plot(x,y) xlabel('x') ylabel('y') title('y = x^2 -2x -3') grid on \stopbuffer \typebuffer % test \placesidebyside{% \framed[align={lohi,right}, frame=on, offset=10pt, background=screen, screen=0.8, width=.5